<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>深大水果姐姐</title>
<link rel="stylesheet" href="css/jquery.mobile-1.3.2.min.css">
<link rel="stylesheet" href="css/fruits.css">
<script src="js/jquery.min.js"></script>
<script src="js/customjqmb.js"></script>
<script src="js/jquery.mobile-1.3.2.min.js"></script>
<script src="js/fruits.js"></script>
</head>
<body>
<div id="cartPage" data-role="page" data-dom-cache="true">
		<script type="text/javascript">
			$(document).on("pagebeforeshow", "#cartPage", function(event) {
				cartDetailGet();
			});
		</script>
    <div data-role="header" data-position="fixed">
    	<a href="#" data-rel="back" data-role="button" data-icon="back">返回</a>
		<h1>购物车</h1>

    </div><!-- /header -->

    <div data-role="content">
	<div id="cart-items">
		<div id="in-tuan-items">
<!-- 			<div class="item" name="tutetuan">
				<input id="priceofid1027" type="hidden" value="12" data-role="none">
				<img onerror="errpic(this)" src="http://121.197.1.194/demo/img/0002.jpg">
				<div class="info" name="tutetuan">
					<span style="font-size:14px;padding-top: 20px;">缤纷切&nbsp;&nbsp;12元/1盒</span>
					<a id="1027" name="12" class="item-remove delete" style="margin-top:5px">删除</a>
					<span style="width:120px;display:inline-block;margin-top:5px;">
						<button name="numberofid1027" class="minus" data-role="none">-</button>&nbsp;&nbsp;
						<label style="display:inline-block" id="numberofid1027">1</label>&nbsp;&nbsp;
						<button name="numberofid1027" class="plus" data-role="none">+</button>
					</span>
				</div>
				<div class="border"></div>
			</div> -->		
		</div>
		<!-- 随心配 -->
		<div id="suixinpei-tip" style="text-align: left;background: #EAEAEA;margin-top: 20px;display:none;">随心配<span style="font-size: 13px">(默认按顺序两两搭配，若不满意搭配可在备注中说明随心配的搭配方式)</span>
		</div>
		<div id="in-cart-items">
<!-- 			<div class="item" name="suixinpei">
				<input id="priceofid1027" type="hidden" value="12" data-role="none">
				<img onerror="errpic(this)" src="http://121.197.1.194/demo/img/0002.jpg">
				<div class="info" name="suixinpei">
					<span style="font-size:14px;padding-top: 20px;">缤纷切&nbsp;&nbsp;12元/1盒</span>
					<a id="1027" name="12" class="item-remove delete" style="margin-top:5px">删除</a>
					<span style="width:120px;display:inline-block;margin-top:5px;">
						<button name="numberofid1027" class="minus" data-role="none">-</button>&nbsp;&nbsp;
						<label style="display:inline-block" id="numberofid1027">1</label>&nbsp;&nbsp;
						<button name="numberofid1027" class="plus" data-role="none">+</button>
					</span>
				</div>
				<div class="border"></div>
			</div> -->		
		</div>		
		
		<div id="amount_2" class="amount" style="height:20px">
			<span class="total" style="float:right">
				合计:<span id="tuan-all"></span>元
			</span>
		</div>
		<div class="location">
			<div data-role="fieldcontain">
				<label for="delivery-time" class="ui-rel-cate">配送时间<span style="font-size: 13px">(请在配送时间段开始的前半小时下单)</span></label>
				<select id="delivery-time" data-mini="true">
				   <option value="0" selected="selected" disabled="disabled">请选择可配送时间</option>
				   <option value="1">19-20点</option>
				   <option value="2">20-21点</option>
				   <option value="3">22-23点</option>
				   <option value="4">预定明天:19-20点</option>
				   <option value="5">预定明天20-21点</option>
				   <option value="6">预定明天:22-23点</option>
				   <!-- <option value="7">23-24点</option> -->
				   <!-- <option value="8">预定明天:23-24点</option> -->
				</select>
			</div>		
			<label>配送信息&nbsp;<span style="font-size: 13px">(目前支持深圳大学区域)</span></label><br>
			<span id="cart-name" class="customer-name">姓名
			</span>(<span id="cart-phone" class="customer-phone">电话</span>) 
			<span id="cart-location" class="customer-location">地址
			</span>
			<a href="delivery_dialog.html" id="modify" data-role="button" class="modify"  data-transition="pop">修改配送信息</a>
			
			<!-- 备注 -->
			<span>若您对订单有特殊要求，在此</span><a href="#" onclick="showRemark()">备注</a>
			<textarea id="cart-remark"
			placeholder="有特殊要求可在这里说明。收货信息、配送方式、支付方式等，以上述选定值为准，在此备注无效，最多输入75个汉字。" style="min-height:6em;display:none;"></textarea>
			<div class="space"></div><br><br><br>

		</div>
		<div class="submit">
			<a id="order-submit" data-role="button" class="btn-success">提交订单</a>
		</div>
	</div>

	</div><!-- /content -->

	<div data-role="footer" data-id="foo1" data-position="fixed">
		<div data-role="navbar">
			<ul>
				<li><a href="index.html" data-transition="none">鲜果切</a></li>
				<li><a href="index2.html" data-transition="none">随心配</a></li>
				<li><a href="index3.html" data-transition="none">免洗果</a></li>
				<li><a href="index4.html" data-transition="none">组合餐</a></li>
			</ul>
		</div><!-- /navbar -->
	</div><!-- /footer -->
	
</div><!-- /page -->	
</body>
</html>
